/<template>
  <el-dialog
    title="阶梯价配置"
    :visible.sync="dialogTableVisible"
    :before-close="handleClose"
    :append-to-body="true"
    width="440px"
  >
    <el-table :data="step">
      <el-table-column
        property="start_chapter"
        label="起始集数"
      ></el-table-column>
      <el-table-column
        property="end_chapter"
        label="结束集数"
      ></el-table-column>
      <el-table-column
        property="step_coin"
        label="虚拟币/集"
      ></el-table-column>
    </el-table>
  </el-dialog>
</template>

<script>
export default {
  props: {
    step: {
      type: Array,
      default: () => []
    }
  },
  data: function () {
    return {
      dialogTableVisible: true
    }
  },
  methods: {
    handleClose() {
      this.$emit('close')
      this.dialogTableVisible = false
    }
  }
}
</script>

<style>
</style>